//
//  XRBaseModel.m
//  XRMyApp
//
//  Created by XRG on 16/5/11.
//  Copyright © 2016年 XRG. All rights reserved.
//

#import "XRBaseModel.h"

@implementation XRBaseModel

- (instancetype)initWithDic:(NSDictionary *)dic{

    self = [super init];
    if (self) {
        [self setValuesForKeysWithDictionary:dic];
    }
    return self;
}

/**
 *  容错方法
 */
- (void)setValue:(id)value forUndefinedKey:(NSString *)key{

}

- (void)setNilValueForKey:(NSString *)key{

}






@end
